package com.example.hhh.service;

import com.example.hhh.model.Customer;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.List;

public interface CustomerService {
    Customer createCustomer(Customer customer);
    Customer getCustomerById(Integer id);
    Page<Customer> getAllCustomers(Pageable pageable);
    Customer updateCustomer(Integer id, Customer customer);
    void deleteCustomer(Integer id);
    List<Customer> searchCustomers(String keyword);
    void importCustomers(List<Customer> customers);
    byte[] exportCustomers();
}